// Outlet 存放子路由 Link导航链接
import {Outlet,Link} from 'react-router-dom'
function Admin() {
  return ( <div>
    <h3>Admin</h3>
    <p>
      <Link to="/admin/dash">概览</Link> |
      <Link to="/admin/orderlist">订单列表</Link>
    </p>
  <Outlet/>
  </div> );
}

export default Admin;